<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title></title>
    <link href="./static/icon/logo.ico" rel="icon">
    <link href="static/css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="./static/arduino/color.css">
    <link href="static/css/style.css" rel="stylesheet">
</head>
<script src="./static/base/blockly_compressed.js"></script>
<script type="text/javascript" src="./static/base/variables.js"></script>
<script src="./static/base/events.js"></script>
<script src="./static/base/procedures.js"></script>
<script src="./static/base/blockly.js"></script>
<script src="./static/msg/js/zh-hans.js"></script>
<script src='./static/arduino/index.js'></script>
<script type="text/javascript" src="./static/arduino/digitalPinToInterrupt.js"></script>
<script type="text/javascript" src="./static/arduino/Blob.js"></script>
<script type="text/javascript" src="./static/arduino/spin.js"></script>
<script type="text/javascript" src="./static/arduino/FileSaver.min.js"></script>
<script type="text/javascript" src="./static/arduino/blockly_helper.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/pins.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/inout.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/control.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/math.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/text.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/lists.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/logic.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/display.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/communicate.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/storage.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/sensor.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/ethernet.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/variables.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/procedures.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/factory.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/scoop.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/serial.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/blockly/actuator.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/pins.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/inout.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/control.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/math.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/text.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/lists.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/logic.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/display.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/communicate.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/storage.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/sensor.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/ethernet.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/variables.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/procedures.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/factory.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/scoop.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/serial.js"></script>
<script type="text/javascript" src="./static/blockly/arduino/code/actuator.js"></script>
<script src="./static/src-min-noconflict/ace.js" type="application/javascript"></script>
<script src="./static/src-min-noconflict/ext-language_tools.js" type="application/javascript"></script>
<script src="./static/mian.js"></script>
<script src="./static/electron/index.js"></script>
<script src="./static/model/jquery.slim.min.js"></script>
<script>if (typeof module === 'object') { window.jQuery = window.$ = module.exports; };</script>
<script src="./static/model/bootstrap.min.js"></script>

<body>

    <xml id="toolbox" style="display: none">
        <category name="输入/输出" id="catInOut" colour="20">
            <block type="inout_highlow"></block>
            <block type="inout_digital_write2">
                <value name="PIN">
                    <shadow type="pins_digital"></shadow>
                </value>
                <value name="STAT">
                    <shadow type="inout_highlow">
                    </shadow>
                </value>
            </block>
            <block type="inout_digital_read2">
                <value name="PIN">
                    <shadow type="pins_digital"></shadow>
                </value>
            </block>
            <block type="inout_analog_write">
                <value name="PIN">
                    <shadow type="pins_pwm"></shadow>
                </value>
                <value name="NUM">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
            </block>
            <block type="inout_analog_read">
                <value name="PIN">
                    <shadow type="pins_analog"></shadow>
                </value>
            </block>
            <block type="controls_attachInterrupt">
                <value name="PIN">
                    <shadow type="pins_interrupt"></shadow>
                </value>
            </block>
            <block type="controls_detachInterrupt">
                <value name="PIN">
                    <shadow type="pins_interrupt"></shadow>
                </value>
            </block>
            <!--            <block type="controls_attachPinInterrupt">
            <value name="PIN">
                <shadow type="pins_digital"></shadow>
            </value>
        </block>
        <block type="controls_detachPinInterrupt">
            <value name="PIN">
                <shadow type="pins_digital"></shadow>
            </value>
        </block>-->
            <block type="inout_pulseIn">
                <value name="PIN">
                    <shadow type="pins_digital"></shadow>
                </value>
            </block>
            <block type="inout_pulseIn2">
                <value name="PIN">
                    <shadow type="pins_digital"></shadow>
                </value>
                <value name="TIMEOUT">
                    <shadow type="math_number">
                        <field name="NUM">1000000</field>
                    </shadow>
                </value>
            </block>
            <block type="inout_pinMode">
                <value name="PIN">
                    <shadow type="pins_digital"></shadow>
                </value>
            </block>
            <block type="inout_shiftout">
                <value name="PIN1">
                    <shadow type="pins_digital"></shadow>
                </value>
                <value name="PIN2">
                    <shadow type="pins_digital"></shadow>
                </value>
                <value name="DATA">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
            </block>
        </category>
        <category name='控制' id="catControl" colour="120">
            <block type="base_setup"></block>
            <block type="controls_end_program"></block>
            <block type="base_delay">
                <value name="DELAY_TIME">
                    <shadow type="math_number">
                        <field name="NUM">1000</field>
                    </shadow>
                </value>
            </block>
            <block type="controls_if"></block>
            <block type="controls_switch_case"></block>
            <block type="controls_for">
                <value name="FROM">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
                <value name="TO">
                    <shadow type="math_number">
                        <field name="NUM">10</field>
                    </shadow>
                </value>
                <value name="STEP">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
            </block>
            <block type="controls_whileUntil"></block>
            <block type="controls_flow_statements"></block>
            <block type="controls_millis"></block>
            <block type="controls_mstimer2">
                <value name="TIME">
                    <shadow type="math_number">
                        <field name="NUM">500</field>
                    </shadow>
                </value>
            </block>
            <block type="controls_mstimer2_start"></block>
            <block type="controls_mstimer2_stop"></block>
            <block type="controls_interrupts"></block>
            <block type="controls_nointerrupts"></block>
            <block type="SCoopTask"></block>
            <block type="SCoop_yield"></block>
            <block type="SCoop_sleep">
                <value name="sleeplength">
                    <shadow type="math_number">
                        <field name="NUM">1000</field>
                    </shadow>
                </value>
            </block>
        </category>
        <category name='数学' id="catMath" colour="230">
            <block type="math_number"></block>
            <block type="math_arithmetic">
                <value name="A">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
                <value name="B">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
            </block>
            <block type="math_bit">
                <value name="A">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
                <value name="B">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
            </block>
            <block type="math_trig"></block>
            <block type="math_to_int"></block>
            <block type="math_max_min">
                <value name="A">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
                <value name="B">
                    <shadow type="math_number">
                        <field name="NUM">2</field>
                    </shadow>
                </value>
            </block>
            <block type="math_random_seed"></block>
            <block type="math_random_int">
                <value name="FROM">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
                <value name="TO">
                    <shadow type="math_number">
                        <field name="NUM">100</field>
                    </shadow>
                </value>
            </block>
            <block type="math_constrain">
                <value name="LOW">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
                <value name="HIGH">
                    <shadow type="math_number">
                        <field name="NUM">100</field>
                    </shadow>
                </value>
            </block>
            <block type="base_map">
                <value name="fromLow">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
                <value name="fromHigh">
                    <shadow type="math_number">
                        <field name="NUM">100</field>
                    </shadow>
                </value>
                <value name="toLow">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
                <value name="toHigh">
                    <shadow type="math_number">
                        <field name="NUM">1000</field>
                    </shadow>
                </value>
            </block>
        </category>
        <category name='文本' id="catText" colour="160">
            <block type="text">
                <field name="TEXT">hello</field>
            </block>
            <block type="text_char">
                <field name="TEXT">a</field>
            </block>
            <block type="text_join">
                <value name="A">
                    <shadow type="text">
                        <field name="TEXT">Hello</field>
                    </shadow>
                </value>
                <value name="B">
                    <shadow type="text">
                        <field name="TEXT">HteRobot</field>
                    </shadow>
                </value>
            </block>
            <block type="text_to_number">
                <value name="VAR">
                    <shadow type="text">
                        <field name="TEXT">123</field>
                    </shadow>
                </value>
            </block>
            <block type="ascii_to_char">
                <value name="VAR">
                    <shadow type="math_number">
                        <field name="NUM">223</field>
                    </shadow>
                </value>
            </block>
            <block type="char_to_ascii">
                <field name="TEXT">a</field>
            </block>

            <block type="number_to_text">
                <value name="VAR">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
            </block>
            <block type="text_length">
                <value name="VAR">
                    <shadow type="text">
                        <field name="TEXT">hello</field>
                    </shadow>
                </value>
            </block>
            <block type="text_char_at">
                <value name="VAR">
                    <shadow type="text">
                        <field name="TEXT">hello</field>
                    </shadow>
                </value>
                <value name="AT">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
            </block>
            <block type="text_equals_starts_ends">
                <value name="STR1">
                    <shadow type="text">
                        <field name="TEXT"></field>
                    </shadow>
                </value>
                <value name="STR2">
                    <shadow type="text">
                        <field name="TEXT"></field>
                    </shadow>
                </value>
            </block>
            <block type="text_compareTo">
                <value name="STR1">
                    <shadow type="text">
                        <field name="TEXT"></field>
                    </shadow>
                </value>
                <value name="STR2">
                    <shadow type="text">
                        <field name="TEXT"></field>
                    </shadow>
                </value>
            </block>
        </category>
        <category name='数组' id="catLists" colour="260">
            <block type="lists_create_with2"></block>
            <block type="lists_create_with_text2"></block>
            <block type="lists_length"></block>
            <block type="lists_getIndex">
                <value name="AT">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
            </block>
            <block type="lists_setIndex">
                <value name="AT">
                    <shadow type="math_number">
                        <field name="NUM">1</field>
                    </shadow>
                </value>
            </block>
        </category>
        <category name='逻辑' id="catLogic" colour="210">
            <block type="logic_compare"></block>
            <block type="logic_operation"></block>
            <block type="logic_negate"></block>
            <block type="logic_boolean"></block>
            <block type="logic_null"></block>
            <block type="logic_true_or_false"></block>
        </category>
        <category name='串口' id="catSerialPort" colour="65">
            <block type="serial_begin"></block>
            <block type="serial_write"></block>
            <block type="serial_print"></block>
            <block type="serial_println"></block>
            <block type="serial_print_hex"></block>
            <block type="serial_available"></block>
            <block type="serial_readstr"></block>
            <block type="serial_readstr_until">
                <value name="CONTENT">
                    <shadow type="text_char">
                        <field name="TEXT">a</field>
                    </shadow>
                </value>
            </block>
            <block type="serial_parseInt_Float"></block>
            <block type="serial_flush"></block>
            <block type="serial_softserial">
                <value name="TX">
                    <shadow type="pins_digital"></shadow>
                </value>
                <value name="RX">
                    <shadow type="pins_digital"></shadow>
                </value>
            </block>
            <block type="serial_event"></block>
        </category>
        <category name='通信' id="catGroup" colour="140">
            <!--<block type="ir_recv">
            <value name="PIN">
                <shadow type="pins_digital"></shadow>
            </value>
            <statement name="DO">
                <block type="serial_print_hex">
                    <value name="CONTENT">
                        <block type="variables_get">
                            <field name="VAR">ir_item</field>
                        </block>
                    </value>
                </block>
            </statement>
        </block>
        <block type="ir_send_nec">
            <value name="data">
                <shadow type="math_number">
                    <field name="NUM">0x89ABCDEF</field>
                </shadow>
            </value>
            <value name="bits">
                <shadow type="math_number">
                    <field name="NUM">32</field>
                </shadow>
            </value>
        </block>
        <block type="ir_recv_enable">
            <value name="PIN">
                <shadow type="pins_digital"></shadow>
            </value>
        </block>
        <block type="ir_recv_raw">
            <value name="PIN">
                <shadow type="pins_digital"></shadow>
            </value>
        </block>
        <block type="ir_send_raw">
            <value name="length">
                <shadow type="math_number">
                    <field name="NUM">3</field>
                </shadow>
            </value>
            <value name="freq">
                <shadow type="math_number">
                    <field name="NUM">38</field>
                </shadow>
            </value>
        </block>-->
            <block type="i2c_master_writer"></block>
            <block type="i2c_master_reader"></block>
            <block type="i2c_master_reader2"></block>
            <block type="i2c_available"></block>
            <block type="i2c_slave_onreceive">
                <value name="PIN">
                    <shadow type="pins_digital"></shadow>
                </value>
            </block>
            <!--<block type="spi_transfer">
            <value name="pin">
                <shadow type="pins_digital"></shadow>
            </value>
            <value name="value">
                <shadow type="math_number">
                    <field name="NUM">0</field>
                </shadow>
            </value>
        </block>-->
        </category>
        <category name='储存' id="catStorage" colour="0">
            <!--<block type="store_sd_write">
            <field name="FILE">file.txt</field>
            <value name="DATA">
                <shadow type="text">
                    <field name="TEXT">hello world</field>
                </shadow>
            </value>
            <value name="NEWLINE">
                <shadow type="logic_boolean">
                    <field name="BOOL">TRUE</field>
                </shadow>
            </value>
        </block>-->
            <block type="store_eeprom_write_byte">
                <value name="ADDRESS">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
                <value name="DATA">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
            </block>
            <block type="store_eeprom_read_byte">
                <value name="ADDRESS">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
            </block>
            <block type="store_eeprom_write_long">
                <value name="ADDRESS">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
                <value name="DATA">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
            </block>
            <block type="store_eeprom_read_long">
                <value name="ADDRESS">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
            </block>
        </category>
        <category name='数字传感器' id="catSensor" colour="40">
            <block type='cpkg'></block>
            <block type='gdkgcgq'></block>
            <!-- <block type='clcgq'></block> -->
            <block type='hwjsq'></block>
            <!-- <block type='hecgq'></block> -->
            <!-- <block type='szcpkg'></block> -->
            <block type='zdkg'></block>
        </category>
        <category name='模拟传感器' id="catSensor" colour="40">
            <block type='gmmk'></block>
            <block type='sycgq'></block>
            <block type='hdcgq'></block>
            <block type='imu'></block>
            <block type='imu1'></block>
            <block type="hycgq"></block>
            <!-- <block type='sfcgq'></block>
        <block type='yyhtcgq'></block>
        <block type='wdcgq'></block>
         -->

            <!--<block type="chaoshengbo2">
            <value name="PIN1">
                <shadow type="pins_digital">
                    <field name="PIN">1</field>
                </shadow>
            </value>
            <value name="PIN2">
                <shadow type="pins_digital">
                    <field name="PIN">2</field>
                </shadow>
            </value>
        </block>
        <block type="dht11">
            <value name="PIN">
                <shadow type="pins_digital"></shadow>
            </value>
        </block>
        <block type="ds18b20">
            <value name="PIN">
                <shadow type="pins_digital"></shadow>
            </value>
        </block>
        DS302
        <block type="DS1302_set_date">
            <value name="YEAR">
                <shadow type="math_number">
                    <field name="NUM">2017</field>
                </shadow>
            </value>
            <value name="MONTH">
                <shadow type="math_number">
                    <field name="NUM">10</field>
                </shadow>
            </value>
            <value name="DAY">
                <shadow type="math_number">
                    <field name="NUM">24</field>
                </shadow>
            </value>
            <value name="HOUR">
                <shadow type="math_number">
                    <field name="NUM">1</field>
                </shadow>
            </value>
            <value name="MINUTE">
                <shadow type="math_number">
                    <field name="NUM">2</field>
                </shadow>
            </value>
            <value name="SECOND">
                <shadow type="math_number">
                    <field name="NUM">3</field>
                </shadow>
            </value>
        </block>
        <block type="DS1302_get_date"></block>
        <block type="DS1302_get_time"></block>
        <block type="gps_init">
            <value name="RX">
                <shadow type="pins_digital"></shadow>
            </value>
            <value name="TX">
                <shadow type="pins_digital"></shadow>
            </value>
            <value name="CONTENT">
                <shadow type="math_number">
                    <field name="NUM">4800</field>
                </shadow>
            </value>
        </block>
        <block type="controls_whileUntil">
            <field name="MODE">WHILE</field>
            <value name="BOOL">
                <block type="gps_data_available"></block>
            </value>
            <statement name="DO">
                <block type="controls_if">
                    <value name="IF0">
                        <block type="gps_data_encode"></block>
                    </value>
                    <statement name="DO0">
                        <block type="controls_if">
                            <value name="IF0">
                                <block type="gps_xxx_isValid">
                                    <field name="WHAT">location</field>
                                </block>
                            </value>
                            <statement name="DO0">
                                <block type="serial_println">
                                    <field name="serial_select">Serial</field>
                                    <value name="CONTENT">
                                        <block type="gps_getData_xxx">
                                            <field name="WHAT">location.lat</field>
                                        </block>
                                    </value>
                                    <next>
                                        <block type="serial_println">
                                            <field name="serial_select">Serial</field>
                                            <value name="CONTENT">
                                                <block type="gps_getData_xxx">
                                                    <field name="WHAT">location.lng</field>
                                                </block>
                                            </value>
                                        </block>
                                    </next>
                                </block>
                            </statement>
                        </block>
                    </statement>
                </block>
            </statement>
        </block>-->
        </category>

        <category name='执行器' id="catActuator" colour="100">
            <block type='controls_dja'></block>
            <block type='propeller'></block>
            <block type='led'></block>
            <block type='fmq1'></block>
            <block type="controls_tone">
                <value name="FREQUENCY">
                    <shadow type="tone_notes"></shadow>
                </value>
            </block>
            <block type="controls_tone2">
                <value name="FREQUENCY">
                    <shadow type="tone_notes"></shadow>
                </value>
                <value name="DURATION">
                    <shadow type="math_number">
                        <field name="NUM">1000</field>
                    </shadow>
                </value>
            </block>
            <block type="controls_notone"></block>
            <!-- <block type='fmq2'></block> -->
            <block type="servo_move">
                <value name="DEGREE">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
                <value name="DELAY_TIME">
                    <shadow type="math_number">
                        <field name="NUM">0</field>
                    </shadow>
                </value>
            </block>
            <!-- <block type="servo_writeMicroseconds">
            <value name="PIN">
                <shadow type="pins_digital"></shadow>
            </value>
            <value name="DEGREE">
                <shadow type="math_number">
                    <field name="NUM">1500</field>
                </shadow>
            </value>
        </block> -->
            <!-- <block type="servo_read_degrees">
            <value name="PIN">
                <shadow type="pins_digital"></shadow>
            </value>
        </block> -->


            <!-- <block type='controls_djb'></block> -->
            <!--<block type="group_stepper_setup">
            <value name="PIN1">
                <shadow type="pins_digital">
                    <field name="PIN">1</field>
                </shadow>
            </value>
            <value name="PIN2">
                <shadow type="pins_digital">
                    <field name="PIN">2</field>
                </shadow>
            </value>
            <value name="steps">
                <shadow type="math_number">
                    <field name="NUM">100</field>
                </shadow>
            </value>
            <value name="speed">
                <shadow type="math_number">
                    <field name="NUM">10</field>
                </shadow>
            </value>
        </block>
        <block type="group_stepper_setup2">
            <value name="PIN1">
                <shadow type="pins_digital">
                    <field name="PIN">1</field>
                </shadow>
            </value>
            <value name="PIN2">
                <shadow type="pins_digital">
                    <field name="PIN">2</field>
                </shadow>
            </value>
            <value name="PIN3">
                <shadow type="pins_digital">
                    <field name="PIN">3</field>
                </shadow>
            </value>
            <value name="PIN4">
                <shadow type="pins_digital">
                    <field name="PIN">4</field>
                </shadow>
            </value>
            <value name="steps">
                <shadow type="math_number">
                    <field name="NUM">100</field>
                </shadow>
            </value>
            <value name="speed">
                <shadow type="math_number">
                    <field name="NUM">10</field>
                </shadow>
            </value>
        </block>
        <block type="group_stepper_move">
            <value name="step">
                <shadow type="math_number">
                    <field name="NUM">10</field>
                </shadow>
            </value>
        </block>-->
        </category>
        <!--<category id="catMonitor" colour="180">
        <block type="group_lcd_init">
            <value name="device">
                <shadow type="math_number">
                    <field name="NUM">0x27</field>
                </shadow>
            </value>
        </block>
        <block type="group_lcd_init2">
            <value name="device">
                <shadow type="math_number">
                    <field name="NUM">0x27</field>
                </shadow>
            </value>
            <value name="PIN1">
                <shadow type="pins_digital">
                    <field name="PIN">A1</field>
                </shadow>
            </value>
            <value name="PIN2">
                <shadow type="pins_digital">
                    <field name="PIN">A2</field>
                </shadow>
            </value>
        </block>
        <block type="group_lcd_init3">
            <value name="PIN1">
                <shadow type="pins_digital">
                    <field name="PIN">7</field>
                </shadow>
            </value>
            <value name="PIN2">
                <shadow type="pins_digital">
                    <field name="PIN">8</field>
                </shadow>
            </value>
            <value name="PIN3">
                <shadow type="pins_digital">
                    <field name="PIN">9</field>
                </shadow>
            </value>
            <value name="PIN4">
                <shadow type="pins_digital">
                    <field name="PIN">10</field>
                </shadow>
            </value>
            <value name="PIN5">
                <shadow type="pins_digital">
                    <field name="PIN">11</field>
                </shadow>
            </value>
            <value name="PIN6">
                <shadow type="pins_digital">
                    <field name="PIN">12</field>
                </shadow>
            </value>
        </block>
        <block type="group_lcd_print">
            <value name="TEXT">
                <block type="text">
                    <field name="TEXT"></field>
                </block>
            </value>
            <value name="TEXT2">
                <block type="text">
                    <field name="TEXT"></field>
                </block>
            </value>
        </block>
        <block type="group_lcd_print2">
            <value name="row">
                <shadow type="math_number">
                    <field name="NUM">1</field>
                </shadow>
            </value>
            <value name="column">
                <shadow type="math_number">
                    <field name="NUM">1</field>
                </shadow>
            </value>
            <value name="TEXT">
                <block type="text">
                    <field name="TEXT"></field>
                </block>
            </value>
        </block>
        <block type="group_lcd_power">
            <field name="STAT">clear</field>
        </block>
        <block type="lp2i_u8g_draw_4strings">
            <value name="Text_line1">
                <shadow type="text">
                    <field name="TEXT">Example line 1</field>
                </shadow>
            </value>
            <value name="Text_line2">
                <shadow type="text">
                    <field name="TEXT">Example line 2</field>
                </shadow>
            </value>
            <value name="Text_line3">
                <shadow type="text">
                    <field name="TEXT">Example line 3</field>
                </shadow>
            </value>
            <value name="Text_line4">
                <shadow type="text">
                    <field name="TEXT">Example line 4</field>
                </shadow>
            </value>
        </block>
        <block type="lp2i_u8g_print">
            <value name="N">
                <shadow type="math_number">
                    <field name="NUM">0</field>
                </shadow>
            </value>
            <value name="X">
                <shadow type="math_number">
                    <field name="NUM">0</field>
                </shadow>
            </value>
            <value name="Y">
                <shadow type="math_number">
                    <field name="NUM">12</field>
                </shadow>
            </value>
        </block>
        <block type="display_rgb_init">
            <value name="PIN">
                <shadow type="pins_digital" />
            </value>
            <value name="LEDCOUNT">
                <shadow type="math_number">
                    <field name="NUM">4</field>
                </shadow>
            </value>
        </block>
        <block type="display_rgb">
            <value name="PIN">
                <shadow type="pins_digital" />
            </value>
            <value name="_LED_">
                <shadow type="math_number">
                    <field name="NUM">1</field>
                </shadow>
            </value>
            <value name="RVALUE">
                <shadow type="math_number">
                    <field name="NUM">0</field>
                </shadow>
            </value>
            <value name="GVALUE">
                <shadow type="math_number">
                    <field name="NUM">0</field>
                </shadow>
            </value>
            <value name="BVALUE">
                <shadow type="math_number">
                    <field name="NUM">0</field>
                </shadow>
            </value>
        </block>
        <block type="display_rgb2">
            <value name="PIN">
                <shadow type="pins_digital" />
            </value>
            <value name="_LED_">
                <shadow type="math_number">
                    <field name="NUM">1</field>
                </shadow>
            </value>
        </block>
        <block type="display_4digitdisplay_power">
            <field name="STAT">clear</field>
        </block>
        <block type="display_4digitdisplay_displayString">
            <value name="VALUE">
                <shadow type="text">
                    <field name="TEXT">abcd</field>
                </shadow>
            </value>
        </block>
        <block type="display_4digitdisplay_showDot">
        </block>
        <block type="display_TM1637_init">
            <value name="PIN1">
                <shadow type="pins_digital">
                    <field name="PIN">3</field>
                </shadow>
            </value>
            <value name="PIN2">
                <shadow type="pins_digital">
                    <field name="PIN">2</field>
                </shadow>
            </value>
        </block>
        <block type="display_TM1637_Brightness">
            <value name="bit">
            </value>
        </block>

        <block type="display_TM1637_displayString">
            <value name="VALUE">
                <shadow type="text">
                    <field name="TEXT">012345</field>
                </shadow>
            </value>
            <value name="Speed">
                <shadow type="math_number">
                    <field name="NUM">300</field>
                </shadow>
            </value>
        </block>
        <block type="display_TM1637_displayTime">
            <value name="hour">
                <shadow type="math_number">
                    <field name="NUM">12</field>
                </shadow>
            </value>
            <value name="minute">
                <shadow type="math_number">
                    <field name="NUM">30</field>
                </shadow>
            </value>
            <value name="second">
                <shadow type="math_number">
                    <field name="NUM">30</field>
                </shadow>
            </value>
        </block>
        <block type="display_TM1637_Stopwatch">

        </block>
    </category>
    <category id="catEthernet" colour="0">
        <block type="ethernet_init_begin">
            <value name="MAC">
                <block type="ethernet_mac_address"></block>
            </value>
        </block>
        <block type="ethernet_init_local_ip"></block>
        <block type="ethernet_client_connect_server">
            <value name="PORT">
                <shadow type="math_number">
                    <field name="NUM">80</field>
                </shadow>
            </value>
        </block>
        <block type="ethernet_client_connected"></block>
        <block type="ethernet_client_available"></block>
        <block type="ethernet_client_read"></block>
        <block type="ethernet_client_stop"></block>
        <block type="ethernet_client_print">
            <value name="TEXT">
                <block type="text">
                    <field name="TEXT"></field>
                </block>
            </value>
        </block>
        <block type="ethernet_client_println">
            <value name="TEXT">
                <block type="text">
                    <field name="TEXT"></field>
                </block>
            </value>
        </block>
        <block type="ethernet_client_get_request"></block>
    </category>-->
        <sep></sep>
        <category id="catVar" name='变量' colour="330" custom="VARIABLE"></category>
        <category id="catFun" name='函数' custom="PROCEDURE" colour="290"></category>
        <category id="catFactory" name="Factory" colour="65">
            <block type="factory_include"></block>
            <block type="factory_function_noreturn"></block>
            <block type="factory_function_return"></block>
            <block type="factory_declare"></block>
            <block type="factory_define"></block>
            <block type="factory_callMethod_noreturn"></block>
            <block type="factory_callMethod_return"></block>
            <block type="factory_static_method_noreturn"></block>
            <block type="factory_static_method_return"></block>
            <block type="factory_block"></block>
            <block type="factory_block_return"></block>
        </category>
    </xml>
    <div id="app"></div>

    <!-- built files will be auto injected -->
</body>

</html>
<script>
    try {
        const { version } = require('../package.json')
        window.onload = function () {
            document.title = "DouBao-北京哈工科教机器人科技有限公司_V" + version
        }
    }catch(err) {
        
    }

</script>